package giaodien;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.ImageIcon;

public class KoDuocQLNV extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					KoDuocQLNV frame = new KoDuocQLNV();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public KoDuocQLNV() {
		//setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 400, 235);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblBnChc = new JLabel("B\u1EA1n ch\u1EC9 \u0111\u01B0\u1EE3c v\u00E0o m\u1EE5c n\u00E0y khi l\u00E0 Qu\u1EA3n l\u00FD");
		lblBnChc.setBounds(96, 52, 248, 43);
		lblBnChc.setFont(new Font("Arial", Font.PLAIN, 14));
		contentPane.add(lblBnChc);
		
		JButton btnOk = new JButton("OK");
		btnOk.setBounds(96, 107, 89, 23);
		btnOk.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			dispose();
			}
		});
		contentPane.add(btnOk);
		
		JLabel label = new JLabel("");
		label.setIcon(new ImageIcon(KoDuocQLNV.class.getResource("/icon/ban.png")));
		label.setBounds(12, 45, 72, 102);
		contentPane.add(label);
	}
}
